package org.yyj.model;

import java.util.HashSet;
import java.util.Objects;
import java.util.Set;

public class Kcb { private String kch;
    private String kcm;
    private Integer kxxq;
    private int xs;
    private int xf;
    private Set xss=new HashSet();
    //增加xss属性的getter setter方法


    public Set getXss() {
        return xss;
    }

    public void setXss(Set xss) {
        this.xss = xss;
    }

    public String getKch() {
        return kch;
    }

    public void setKch(String kch) {
        this.kch = kch;
    }

    public String getKcm() {
        return kcm;
    }

    public void setKcm(String kcm) {
        this.kcm = kcm;
    }

    public Integer getKxxq() {
        return kxxq;
    }

    public void setKxxq(Integer kxxq) {
        this.kxxq = kxxq;
    }

    public int getXs() {
        return xs;
    }

    public void setXs(int xs) {
        this.xs = xs;
    }

    public int getXf() {
        return xf;
    }

    public void setXf(int xf) {
        this.xf = xf;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()){
            return false;
        }
        Kcb kcb = (Kcb) o;
        return xs == kcb.xs && xf == kcb.xf && Objects.equals(kch, kcb.kch) && Objects.equals(kcm, kcb.kcm) && Objects.equals(kxxq, kcb.kxxq);
    }

    @Override
    public int hashCode() {
        return Objects.hash(kch, kcm, kxxq, xs, xf);
    }
}
